<?php
/**
 * Created by PhpStorm.
 * User: Krystal
 * Date: 2018/9/3
 * Time: 18:16
 */

namespace app\common\validate;

use think\Validate;

class Article extends Validate
{

    protected $rule = [
        ['id', 'require', '缺少文章id'],
        ['id', 'integer', '参数必须为数字'],
    ];
}